package ttOrder.model.po;

import java.util.Date;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "orders")
public class Order {
	
	@Id
	private int id;
	private int tableId;
	private double totalPrice;
	private Date orderTime;
	private int userId;
	private int vip;
	private int orderStatus;
	
	public Order() {
		super();
	}
	public Order(int orderId) {
		super();
		this.id = orderId; 
	}
	

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getTableId() {
		return tableId;
	}
	public void setTableId(int tableId) {
		this.tableId = tableId;
	}
	public double getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}
	public Date getOrderTime() {
		return orderTime;
	}
	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}
	public int getVip() {
		return vip;
	}
	public void setVip(int vip) {
		this.vip = vip;
	}
	public int getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	
	
}
